﻿@model List<View_Action.Models.Task>

@{
    ViewBag.Title = "List";

}

<table class="table table-hover">
    <thead>
        <tr>
            <th>编号</th>
            <th>优先</th>
            <th>内容</th>
            <th>添加时间</th>
            <th>状态</th>
            <th>完成时间</th>
            <th>用户编号</th>
        </tr>
    </thead>
    <tbody>

        @foreach (var item in Model)
        {
            <tr>
                <td>@item.TaskID</td>
                <td>@item.TaskPriority</td>
                <td>@item.Content</td>
                <td>@item.AddTime</td>
                <td>@item.TaskState</td>
                <td>@item.FinishedTime</td>
                <td>@item.uid</td>
                
            </tr>
        }
        </tbody>
</table>

<h2>Result</h2>

